﻿using CommunityToolkit.Mvvm.Messaging.Messages;
using SSHTool.ViewModel;

namespace SSHTool.Core.Message
{
    public class NewTabItemMessage : ValueChangedMessage<NavItemViewModel>
    {
        public NewTabItemMessage(ConnectionViewModel connection, NavItemViewModel value) : base(value)
        {
            this.Connection = connection;
        }

        public ConnectionViewModel Connection { get; set; }
    }
}
